projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a019c41
)
(unexec): Error if trying unexec from dumped executable.
author
YAMAMOTO Mitsuharu
<mituharu@math.s.chiba-u.ac.jp>
Mon, 1 May 2006 01:13:42 +0000
(
01:13
+0000)
committer
YAMAMOTO Mitsuharu
<mituharu@math.s.chiba-u.ac.jp>
Mon, 1 May 2006 01:13:42 +0000
(
01:13
+0000)
src/unexmacosx.c
patch
|
blob
|
history
diff --git
a/src/unexmacosx.c
b/src/unexmacosx.c
index 4ca0be829a2337a04a7ee28034b634cdc612a94c..f65fd9cbc221e32eaa43a7555bff6f7cc45aaef3 100644
(file)
--- a/
src/unexmacosx.c
+++ b/
src/unexmacosx.c
@@
-1021,6
+1021,9
@@
void
unexec (char *outfile, char *infile, void *start_data, void *start_bss,
void *entry_address)
{
+ if (in_dumped_exec)
+ unexec_error ("Unexec from a dumped executable is not supported.");
+
infd = open (infile, O_RDONLY, 0);
if (infd < 0)
{